home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / disk.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  895b  |  39 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_DISK_H
  4. #define _INLINE_DISK_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef DISK_BASE_NAME
  11. #define DISK_BASE_NAME DiskBase
  12. #endif /* !DISK_BASE_NAME */
  13.  
  14. #define AllocUnit(unitNum) \
  15.     LP1(0x6, BOOL, AllocUnit, long, unitNum, d0, \
  16.     , DISK_BASE_NAME)
  17.  
  18. #define FreeUnit(unitNum) \
  19.     LP1NR(0xc, FreeUnit, long, unitNum, d0, \
  20.     , DISK_BASE_NAME)
  21.  
  22. #define GetUnit(unitPointer) \
  23.     LP1(0x12, struct DiskResourceUnit *, GetUnit, struct DiskResourceUnit *, unitPointer, a1, \
  24.     , DISK_BASE_NAME)
  25.  
  26. #define GetUnitID(unitNum) \
  27.     LP1(0x1e, LONG, GetUnitID, long, unitNum, d0, \
  28.     , DISK_BASE_NAME)
  29.  
  30. #define GiveUnit() \
  31.     LP0NR(0x18, GiveUnit, \
  32.     , DISK_BASE_NAME)
  33.  
  34. #define ReadUnitID(unitNum) \
  35.     LP1(0x24, LONG, ReadUnitID, long, unitNum, d0, \
  36.     , DISK_BASE_NAME)
  37.  
  38. #endif /* !_INLINE_DISK_H */
  39.